#!/usr/bin/env python3
# -*- coding:utf-8 -*-
###
# File: hello_gui.py
# -----
# Description: 
# -----
# Created  By: Aim 2020-02-02 00:12:20
# Modified By: Aim 2020-02-02 00:16:11
# -----
# HISTORY:
# Date      	By	Comments
# ----------	---	----------------------------------------------------------
###

from tkinter import *

class Application(Frame):
    def __init__(self, master=None):
        Frame.__init__(self, master)
        self.pack()
        self.createWidgets()
    
    def createWidgets(self):
        self.helloLabel = Label(self, text='Hello, world')
        self.helloLabel.pack()
        self.quitButton = Button(self, text='Quit', command=self.quit)
        self.quitButton.pack()

app = Application()
app.master.title('Hello World')
app.mainloop()